<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="./lib/vue-2.5.9.js"></script>
</head>

<body>
<div id="app">
    <div>{{msg}}</div>
    <div v-html="msg"></div>
</div>
<script>
    const vm = new Vue({
        el: "#app",
        data: {
            msg: '<h6>这是一个小标题</h6>',
        }
    })
</script>
</body>
</html>